package com.apes.framework.plugin.esb.processor.idempotent;


import com.apes.framework.jpa.repository.CustomRepository;
import org.springframework.data.jpa.repository.Query;


/**
 * @author xul
 * @create 2019-11-21 15:05
 */
public interface AntiHeavyRepository extends CustomRepository<AntiHeavy, String> {
    @Query(value = "SELECT * FROM IR_ANTI_HEAVY WHERE ID LIKE ?1 || '%' ", nativeQuery = true)
    AntiHeavy fuzzySearch(String id);
}
